package com.ys.entity.storage;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TCC_FbaBox", catalog="Id")
public class TccFbaBox extends BaseEntity<TccFbaBox> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="BidBoxUp", nameJava="bidBoxUp", typeDataBase="varchar")
	private String bidBoxUp;
	@YsField(nameDataBase="BidFbaPlan", nameJava="bidFbaPlan", typeDataBase="varchar")
	private String bidFbaPlan;
	@YsField(nameDataBase="BoxNo", nameJava="boxNo", typeDataBase="int")
	private Integer boxNo;
	@YsField(nameDataBase="BoxCode", nameJava="boxCode", typeDataBase="varchar")
	private String boxCode;
	@YsField(nameDataBase="BoxLong", nameJava="boxLong", typeDataBase="decimal")
	private BigDecimal boxLong;
	@YsField(nameDataBase="BoxWide", nameJava="boxWide", typeDataBase="decimal")
	private BigDecimal boxWide;
	@YsField(nameDataBase="BoxHigh", nameJava="boxHigh", typeDataBase="decimal")
	private BigDecimal boxHigh;
	@YsField(nameDataBase="BoxWeight", nameJava="boxWeight", typeDataBase="decimal")
	private BigDecimal boxWeight;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TccFbaBox setId(Long id) {
		this.id = id;
		return this;
	}
	public String getBidBoxUp() {
		return bidBoxUp;
	}
	public TccFbaBox setBidBoxUp(String bidBoxUp) {
		this.bidBoxUp = bidBoxUp;
		return this;
	}
	public String getBidFbaPlan() {
		return bidFbaPlan;
	}
	public TccFbaBox setBidFbaPlan(String bidFbaPlan) {
		this.bidFbaPlan = bidFbaPlan;
		return this;
	}
	public Integer getBoxNo() {
		return boxNo;
	}
	public TccFbaBox setBoxNo(Integer boxNo) {
		this.boxNo = boxNo;
		return this;
	}
	public String getBoxCode() {
		return boxCode;
	}
	public TccFbaBox setBoxCode(String boxCode) {
		this.boxCode = boxCode;
		return this;
	}
	public BigDecimal getBoxLong() {
		return boxLong;
	}
	public TccFbaBox setBoxLong(BigDecimal boxLong) {
		this.boxLong = boxLong;
		return this;
	}
	public BigDecimal getBoxWide() {
		return boxWide;
	}
	public TccFbaBox setBoxWide(BigDecimal boxWide) {
		this.boxWide = boxWide;
		return this;
	}
	public BigDecimal getBoxHigh() {
		return boxHigh;
	}
	public TccFbaBox setBoxHigh(BigDecimal boxHigh) {
		this.boxHigh = boxHigh;
		return this;
	}
	public BigDecimal getBoxWeight() {
		return boxWeight;
	}
	public TccFbaBox setBoxWeight(BigDecimal boxWeight) {
		this.boxWeight = boxWeight;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TccFbaBox setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TccFbaBox setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TccFbaBox setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TccFbaBox tccFbaBox(
		String bidBoxUp,
		String bidFbaPlan,
		Integer boxNo,
		String boxCode,
		BigDecimal boxLong,
		BigDecimal boxWide,
		BigDecimal boxHigh,
		BigDecimal boxWeight,
		Integer status
			) {
		TccFbaBox entity = new TccFbaBox();
		entity.setBidBoxUp(bidBoxUp);
		entity.setBidFbaPlan(bidFbaPlan);
		entity.setBoxNo(boxNo);
		entity.setBoxCode(boxCode);
		entity.setBoxLong(boxLong);
		entity.setBoxWide(boxWide);
		entity.setBoxHigh(boxHigh);
		entity.setBoxWeight(boxWeight);
		entity.setStatus(status);
		return entity;
	}
}